package com.softeem.plyf;

public class GirlTest {

	public static void main(String[] args) {
		
		Animal a1 = new Cat();
		Animal a2 = new Dog();
		Animal a3 = new Monkey();
		Animal a4 = new Snake();
				
		System.out.println(a1);
		System.out.println(a2);
		System.out.println(a3);
		System.out.println(a4);
		
		Girl g = new Girl();
		g.feedPet(a3);
	
	}
}
